<TABLE class="cms_browsetext" cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR> 
<TH align="left" width="35">&nbsp;</TH>
<TH align="left" ><A href="#">Title</A></TH>
<TH width="75" align="left">Action</TH>
</TR>
<TR> 
<TD colSpan="3><IMG height="10" src="/cms/images/spacer.gif" width="10"></TD>
</TR>
<?

	//$cmsDocument->addConstraint('value',"<<NULL>>",'IS');	// magic hax0r for nullness..
	
	//remember to reset the iterator..
	$cmsDocument->resetIterator();
					
	while(($row = $cmsDocument->nextDocument())){
			$browseUrl = $_SERVER['PHP_SELF'] . '?fileNo=1&formid=123&topic=' . $row->documentcode; 	
?>
<TR> 
<TD align="left" colSpan="3"><IMG height="7" src="/cms/images/greyline.gif" width="100%"></TD>
</TR>

<TR> 
<TD class="cms_browsetext" width="35"><a href="<?= $browseUrl ?>"><img src="/cms/html/postings/images/icon_forum.gif" ></a></TD>
<TD class="cms_browsetext"><a href="<?= $browseUrl ?>"><?= magicClean($row->title)?></a></TD>
<TD class="cms_browsetext" width=75>
<?
if (editFormAuth($authInfo, $formDescription, $row->documentcode, $db)) {
?>
<a href="/cms/html/index.php?fileNo=2&documentCode=<? print($row->documentcode); ?>" >Edit</a> /
<?
} 
if ( deleteFormAuth($authInfo, $formDescription, $row->documentcode, $db) ) {
?>	
<a href="/cms/html/index.php?fileNo=4&documentCode=<? print($row->documentcode); ?>&returnURLEncoded=<?= urlencode($returnURL) ?>&cancelURLEncoded=<?= urlencode($cancelURL) ?>" >Delete</a>
<?						
}



?>
</TD></TR>
<?
	}
?>
<TR> 
<TD align="left" colSpan="3"><IMG height="7" src="/cms/images/greyline.gif" width="100%"></TD>
</TR>
</TABLE>
<?
	// displayFolderQuickAdd($formDescription, $authInfo, null, null, $db);
	$addMode = CMS_ADD_QUICK_ADD_FOLDER;
	$addLabel = "Create New Forum";
?>